﻿namespace AiQiuQuan.Sport.Core
{
    /// <summary>
    /// hangfire 循环作业cron表达式特性 ex:* * 0/1 * * *
    /// </summary>
    public class ReccuringJobCronAttribute : Attribute
    {
        public readonly string Cron;

        /// <summary>
        /// ctor
        /// </summary>
        /// <param name="cron">cron表达式,ex:* * 0/1 * * ?</param>
        public ReccuringJobCronAttribute(string cron)
        {
            Cron = cron;
        }
    }
}
